#pragma once

#include <QWidget>
#include "ui_openglrendercontrol.h"

namespace PBVP {
	class OpenGLRenderer;
	///
	class OpenGLRenderControl : public QWidget
	{
		Q_OBJECT
	public:
		OpenGLRenderControl(OpenGLRenderer *pGLRenderer, QWidget *parent = NULL);

	public slots:
		///
		void setWireFrame(int state);
		///
		void setShadingMode();

	private:
		OpenGLRenderer *m_pRender;
		Ui_OGLRenderControl ui;
	};
}
